package api

import (
	"github.com/gin-gonic/gin"
	"main/api/handler"
)

func LoadRouters(c *gin.Engine) {
	//c.POST("/api/user/login", handler.UserLogin)
	api := c.Group("/api")
	{
		user := api.Group("/user")
		{
			user.POST("/register", handler.UserRegister)
			user.POST("/login", handler.UserLogin)

		}
	}

}
